package com.zzt.community.service;

import com.zzt.community.dao.CcbDemoMapper;
import com.zzt.community.entity.CcbDemo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Classname: CcbDemoService
 * Package: com.zzt.community.service
 * Description:
 *
 * @Author:zzt
 * @Create: 2024/3/5-22:40
 * Version:
 */
@Service
public class CcbDemoService {
//注入mapper层（DAO层），调用底层查询方法
    @Autowired
    private CcbDemoMapper ccbDemoMapper;

    public CcbDemo findCcbDemoById(int id){

        return ccbDemoMapper.selectCcbDemo(id);
    }
}
